<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<head th:include="common/common :: jscss">
    <title>产品价格表</title>
</head>
<body>

<div class="layui-fluid">
    <blockquote class="layui-crumb">
        后台产品>产品管理>
        <a lay-href="/product/list.action">后台产品管理</a>>
        <a th:href="'/product/addEditView.action?productId='+${servProductVO.productId}">[[${servProductVO.name}]]</a>>
        <zmn>价格表</zmn>
    </blockquote>

    <div class="layui-card">
        <div th:replace="product/_tab::tab"></div>
        <div class="layui-split">&nbsp;</div>

        <form method="post" action="/product/price/listProductPrice.action" id="product_list" name="product_list">
            <input type="hidden" name="productId" th:value="${servProductVO.productId}">
            <input type="hidden" name="itemType" value="2">
            <div class="layui-form" th:include="product/pricetable/_query :: query "></div>
        </form>
        <div class="layui-card-body" id="table_body">
            <div th:replace="product/pricetable/_table::table"></div>
        </div>

    </div>
</div>

</body>
</html>
<script type="text/javascript" th:inline="javascript">

    var json = {
        totalCount: [[${vo.totalCount}]],
        pageSize: [[${vo.pageSize}]],
        pageIndex: [[${vo.pageIndex}]]
    };

    layui.config({
        base: "/static/lay/",
        version:2019092600000
    }).extend({
        index: "lib/index",
        product_tariff_js: "product/pricetable/zmn.plat.product.tariff.list"
    }).use(['index', 'product_tariff_js']);

</script>